package com.flag.liutao.common.domain;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "query请求参数的基类")
public class QueryParam implements Serializable {

    @ApiModelProperty("当前页")
    private int page = 1;
    @ApiModelProperty("每页最大数目")
    private int limit = 10;
    @ApiModelProperty("关键字")
    private String keyword;
}
